<form name="form_admin" method="post" action="<?php echo formAction('updatestatus')?>">
	
<table width="100%" border="0" cellpadding="1" cellspacing="1"  class="tblsort">
	<tr class="headtb">
        <td width="5%"><?php echo inputCheckAll()?></td>
		<td width="30%"><?echo getLang('Email')?></td>
		<td width="20%" ><?echo getLang('Status')?></td>
        <td width="10%" >Reg Date</td>
		<td width="10%" ><?echo getLang('Actions')?></td>
		<td></td>
	</tr>
	<?php 
	foreach($emails as $i=>$email)
	{
	?>
	<tr>
        <td align="center"><?php echo inputCheck($email['iId'])?></td>
		<td  nowrap="nowrap" style="padding-left:15px">
			<?php echo $email['cEmail'] ?>
            <input type="hidden" name="listid[]" value="<?echo $email['iId']?>" />
		</td>
		<td  align="center">
			<select name="liststatus[]">
				<?php echo liststatus($email["iStatus"]) ?>
			</select>
		</td>
        <td align="center"><?php echo $email['dRegDate']?> </td>
		<td  align="center">
			<?php echo linkAction("delete","Delete","id=".$email['iId']);?>
		</td>
		<td></td>
	</tr>					
	<?php
	}
	?>
</table>
<?php echo $show_page?>
</form>